﻿<controls:ChildWindow x:Class="Locator.Silverlight.Client.Settings"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:views="clr-namespace:Locator.Silverlight.Client"
                      xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
  xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
                      xmlns:wizard="clr-namespace:Locator.Silverlight.Client.UserSettings.Wizard"
           Width="1100" Height="600" 
           Title="Settings">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="OKButton" Content="Close" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <controls:TabControl Margin="0,0,0,0" Name="tabControlSettings">
            <controls:TabItem Header="Setup Wizard" Name="tabItemWizard">
                <Grid >
                    <wizard:WizardControl></wizard:WizardControl>
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Your Products" Name="tabItemProducts">
                <Grid>
                    <views:ManageProductsControl HorizontalAlignment="Center"></views:ManageProductsControl>
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Your Stores" Name="tabitemStores">
                <Grid>
                    <views:ManageStoresControl></views:ManageStoresControl>
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Your Personal Locations" Name="tabitemLocations">
                <Grid>
                    <views:ManagePersonalLocationsControl>
                    </views:ManagePersonalLocationsControl>
                </Grid>
            </controls:TabItem>
        </controls:TabControl>
    </Grid>
</controls:ChildWindow>